package com.tour.pojo;

import java.util.Date;

public class Discuss {
    private Integer disId;

    private Integer userId;

    private String username;

    private Integer targetId;

    private String content;

    private Integer praise;

    private Integer disType;

    private Date createTime;

    private Date updateTime;

    public Discuss(Integer disId, Integer userId, String username, Integer targetId, String content, Integer praise, Integer disType, Date createTime, Date updateTime) {
        this.disId = disId;
        this.userId = userId;
        this.username = username;
        this.targetId = targetId;
        this.content = content;
        this.praise = praise;
        this.disType = disType;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Discuss() {
        super();
    }

    public Integer getDisId() {
        return disId;
    }

    public void setDisId(Integer disId) {
        this.disId = disId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getPraise() {
        return praise;
    }

    public void setPraise(Integer praise) {
        this.praise = praise;
    }

    public Integer getDisType() {
        return disType;
    }

    public void setDisType(Integer disType) {
        this.disType = disType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}